<?php

class Car {
	
	private $lux="Mercedes S-class";
	private $sport="Nissan GT-R";
	private $jeep="Toyota Land cruiser";	
	
} 


?>

<hr><hr>


<?php

class User {
	
	private $user="ivan";
	private $lastname="ivanov";
	private $email="aa@bb";	
	private $password="123";
	
     public function setUser($user) {
        $this->user= $user;
    }
    
    public function setLastName($lastname){
    	$this->lastname=($lastname);    	
    }
	
	public function setEmail($email){
		$this->email=($email);
	}
	
} 
$user=new User;
$user->setUser(petar);
$lastname=new User;
$lastname->setLastName(petrov);
$email=new User;
$email->setEmail(ccss);


?>


<hr><hr>
























